﻿@model MVCSampleApp.Models.EventsAndMenusContext
@{
    ViewBag.Title = "Use a Partial View";
    ViewBag.EventsTitle = "Live Events";
}
<h2>Use a Partial View</h2>
<div>this is the main view</div>
<div>

    @await Html.PartialAsync("ShowEvents", Model.Events)
    
 
</div>
